﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucTinTucSuKien.ascx.cs"
    Inherits="Admin_ucControl_ucTinTucSuKien" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
    TagPrefix="cc1" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<div id="tabledata" class="section">
    <h2 class="ico_mug">
        THÊM MỚI TIN TỨC - SỰ KIỆN</h2>
    <table class="yui" width="100%">
        <tr>
            <td>
                Tiều đề
            </td>
            <td>
                <asp:TextBox ID="txtTieuDe" runat="server" Width="230px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                    ValidationGroup="save" ControlToValidate="txtTieuDe"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Ngày tháng
            </td>
            <td>
                <asp:TextBox ID="txtDateTime" runat="server"></asp:TextBox>
                <asp:CalendarExtender ID="CalendarExtender2" runat="server" Format="dd/MM/yyyy" TargetControlID="txtDateTime">
                </asp:CalendarExtender>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
                    ValidationGroup="save" ControlToValidate="txtDateTime"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
            Nội dung tóm tắt
            </td>
            <td>
                <cc1:Editor ID="noidungtomtat" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                Nội Dung
            </td>
            <td>
                <FCKeditorV2:FCKeditor ID="FCKNoiDung" runat="server" BasePath="~/fckeditor/" Width="100%"
                    Height="300px">
                </FCKeditorV2:FCKeditor>
            </td>
        </tr>
        <tr>
            <td>
                Image
            </td>
            <td>
                <asp:FileUpload ID="img" runat="server" /><asp:RequiredFieldValidator ID="RequiredFieldValidator3"
                    runat="server" ErrorMessage="*" ControlToValidate="img" ValidationGroup="save"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Button ID="btnSave" runat="server" Text="Lưu" OnClick="btnSave_Click" ValidationGroup="save" />
            </td>
        </tr>
    </table>
</div>
